import vue from 'vue'
import Vuex from 'vuex'

vue.use(Vuex)

const state = {
  is_auth:0,
  userName:''
}

const actions = { }

const getters = { }

const mutations = {
  isAuth(state,val) {
    state.is_auth = val;
  },
 
} 
 
export default new Vuex.Store({  
  state,
  actions,
  mutations,
  getters 
});  